import {ajaxGet,ajaxPost} from "@/utils/request.js"

//读取大类数据的接口get
export const getCategoryList = (params)=>{
	let url = "goods/getCategoryList"
	return ajaxGet(url,params)
}

//读取小类的数据post
export const getCategorySubList = (params)=>{
	let url = "goods/getCategorySubList"
	return ajaxPost(url,params)
}

//根据类别获取商品列表post
export const getGoodsListByCategorySubID = (params)=>{
	let url = "goods/getGoodsListByCategorySubID"
	return ajaxPost(url,params)
}